﻿using LJX.SmartPark.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Domain.IotInfo
{
    /// <summary>
    /// Oled状态日志
    /// </summary>
    [Table("OledScreenLog")]
    public class OledScreenLog : KeyEntity
    {
        /// <summary>
        /// 设备编号
        /// </summary>
        [MaxLength(50)]
        public string EquipMentNum { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// 链接状态
        /// </summary>
        public bool ConnectionStatus { get; set; }

        /// <summary>
        /// 开启状态
        /// </summary>
        public bool OpenStaus { get; set; }

        /// <summary>
        /// 开启时间
        /// </summary>
        public DateTime? OpeningTime { get; set; }

        /// <summary>
        /// 关闭时间
        /// </summary>
        public DateTime? ClosingTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(50)]
        public string? Remark { get; set; }
    }
}
